<div class="widget am-cf">
    <div class="am-fl"><a href="javascript:void(0)" class="am-btn am-btn-primary am-btn-xs"
                          onclick="history.go(-1);return false;"><i class="am-icon-long-arrow-left"></i> 调拨单</a></div>
    <div class="am-fr">
        {{if eq .m.Auditing 2}}
            <a href="javascript:void(0)" class="am-btn am-btn-danger am-btn-xs" id="confirmBtn">确认调拨</a>
            <a href="javascript:void(0)" class="am-btn am-btn-default am-btn-xs" id="returnBtn">退回</a>
        {{end}}
    </div>
</div>
<style>.am-table-tit > tbody > tr > td {
        border-top: 0;
    }</style>
<div style="background-color:#f2f8fa; padding:20px 20px 1px 20px; margin-bottom:15px;">
    <table class="am-table am-table-tit">
        <tr>
            <td data-type="number">{{.m.Number}}</td>
            <td data-type="created_at">申请日期：{{.m.CreatedAt | getDate}}</td>
            <td data-type="formdepname">调出门店：{{.m.FromDepName}}</td>
            <td data-type="todepname">调入门店：{{.m.ToDepName}}</td>
        </tr>
        <tr>
            <td data-type="operator_name">经办人：{{.m.OperatorName}}</td>
            <td data-type="product_number">总产品数：{{.m.ProductNumber}}</td>
            <td colspan="2" data-type="remarks">备注：{{.m.Remarks}}</td>
        </tr>
    </table>
</div>
<div class="widget am-cf">
    <div class="widget-head am-cf">
        <div class="widget-title  am-fl">调拨商品清单（{{.m.ProductNumber}}）</div>
        <div class="widget-function am-fr">
            <a href="javascript:;" id="printer" class="am-icon-print">打印调拨单</a>
            <a href="javascript:;" id="download" class="am-icon-cloud-download">导出</a>
        </div>
    </div>
    <div class="widget-body  am-fr">
        <div class="am-g">
            <table width="100%" class="am-table tpl-table-black am-table-hover am-table-bordered" id="dataTables">
                <thead>
                <tr>
                    <th width="15%">名称</th>
                    <th>球镜</th>
                    <th>柱镜</th>
                    <th>ADD</th>
                    <th>型号</th>
                    <th>色号</th>
                    <th>批号</th>
                    <th>生产日期</th>
                    <th>失效日期</th>
                    <th>库存数量</th>
                    <th width="10%">调拨数量</th>
                </tr>
                </thead>
                <tbody></tbody>
            </table>
        </div>
    </div>
</div>